<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>个人空间 | 社交平台</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
  
  <style>
    :root {
      --primary: #4F46E5;
      --secondary: #6B7280;
      --light: #F9FAFB;
      --dark: #1F2937;
      --white: #FFFFFF;
      --border: #E5E7EB;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      --radius: 8px;
      
      /* 不同风格主题色 */
      --style1: #3B82F6; /* 科技蓝 */
      --style2: #EC4899; /* 活力粉 */
      --style3: #10B981; /* 生态绿 */
      --style4: #F59E0B; /* 温暖橙 */
      --style5: #8B5CF6; /* 梦幻紫 */
      --style6: #111827; /* 商务黑 */
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: #f5f5f5;
      color: var(--dark);
      min-height: 100vh;
      padding: 0;
      margin: 0;
      transition: background-color 0.3s ease;
    }
    
    .container {
      max-width: 420px;
      margin: 0 auto;
      background-color: var(--white);
      min-height: 100vh;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      transition: background-color 0.3s ease;
    }
    
    /* 个人主页容器 */
    .profile-page {
      display: none;
      min-height: 100vh;
      flex-direction: column;
    }
    
    .profile-page.active {
      display: flex;
      animation: fadeIn 0.3s ease forwards;
    }
    
    /* 顶部导航栏 */
    .page-header {
      padding: 18px 20px;
      position: relative;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
      z-index: 10;
    }
    
    .page-title {
      font-size: 18px;
      font-weight: 600;
      margin: 0;
    }
    
    .header-actions {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      gap: 15px;
    }
    
    .header-btn {
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .header-btn:active {
      transform: scale(0.9);
    }
    
    /* 封面和头像区域 */
    .profile-cover {
      height: 140px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    
    .profile-avatar-container {
      padding: 0 20px;
      margin-top: -50px;
    }
    
    .profile-avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
      border: 4px solid var(--white);
      box-shadow: var(--shadow);
    }
    
    /* 个人信息区域 */
    .profile-info {
      padding: 15px 20px;
      text-align: center;
    }
    
    .profile-name {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 5px;
    }
    
    .profile-bio {
      color: var(--secondary);
      font-size: 15px;
      margin-bottom: 15px;
      line-height: 1.4;
    }
    
    .profile-stats {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-bottom: 15px;
    }
    
    .stat-item {
      text-align: center;
    }
    
    .stat-value {
      font-size: 18px;
      font-weight: 600;
      color: var(--primary);
    }
    
    .stat-label {
      font-size: 13px;
      color: var(--secondary);
    }
    
    .profile-actions {
      display: flex;
      gap: 10px;
      padding: 0 20px 15px;
    }
    
    .profile-btn {
      flex: 1;
      padding: 8px 0;
      border-radius: 6px;
      font-weight: 500;
      font-size: 15px;
      transition: all 0.2s ease;
      border: none;
      cursor: pointer;
    }
    
    .btn-primary {
      background-color: var(--primary);
      color: white;
    }
    
    .btn-secondary {
      background-color: var(--light);
      color: var(--dark);
      border: 1px solid var(--border);
    }
    
    /* 内容标签栏 */
    .content-tabs {
      display: flex;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
    }
    
    .tab-item {
      flex: 1;
      text-align: center;
      padding: 12px 0;
      font-size: 15px;
      font-weight: 500;
      color: var(--secondary);
      cursor: pointer;
      position: relative;
      transition: all 0.2s ease;
    }
    
    .tab-item.active {
      color: var(--primary);
    }
    
    .tab-item.active::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: var(--primary);
    }
    
    /* 内容区域 */
    .content-container {
      flex-grow: 1;
      overflow-y: auto;
    }
    
    /* 相册网格 */
    .albums-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      padding: 10px;
    }
    
    .album-item {
      border-radius: var(--radius);
      overflow: hidden;
      background-color: var(--light);
      box-shadow: var(--shadow);
    }
    
    .album-thumbnail {
      aspect-ratio: 4/3;
      background-size: cover;
      background-position: center;
    }
    
    .album-info {
      padding: 8px 10px;
    }
    
    .album-title {
      font-size: 14px;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 3px;
    }
    
    .album-count {
      font-size: 12px;
      color: var(--secondary);
    }
    
    /* 动态列表 */
    .posts-list {
      padding: 10px;
    }
    
    .post-item {
      background-color: var(--white);
      border-radius: var(--radius);
      padding: 12px;
      margin-bottom: 10px;
      box-shadow: var(--shadow);
    }
    
    .post-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    
    .post-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
    }
    
    .post-author {
      font-weight: 500;
      font-size: 15px;
    }
    
    .post-time {
      font-size: 12px;
      color: var(--secondary);
    }
    
    .post-content {
      font-size: 15px;
      margin-bottom: 10px;
      line-height: 1.5;
    }
    
    .post-images {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 4px;
      margin-bottom: 10px;
      border-radius: 6px;
      overflow: hidden;
    }
    
    .post-image {
      aspect-ratio: 1/1;
      background-size: cover;
      background-position: center;
    }
    
    .post-actions {
      display: flex;
      justify-content: space-around;
      padding-top: 8px;
      border-top: 1px solid var(--border);
    }
    
    .post-action {
      display: flex;
      align-items: center;
      gap: 5px;
      color: var(--secondary);
      font-size: 13px;
      background: none;
      border: none;
      cursor: pointer;
    }
    
    /* 样式切换器 */
    .style-switcher {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1010;
      background-color: white;
      border-radius: 8px;
      box-shadow: var(--shadow);
      overflow: hidden;
      width: 180px;
      transition: all 0.3s ease;
      transform: translateX(0);
      opacity: 1;
    }
    
    .style-switcher.hidden {
      transform: translateX(200px);
      opacity: 0;
      pointer-events: none;
    }
    
    .switcher-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1020;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
      border: none;
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .switcher-header {
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 600;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .switcher-close {
      background: none;
      border: none;
      color: var(--secondary);
      font-size: 16px;
      cursor: pointer;
    }
    
    .switcher-option {
      padding: 12px 16px;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s;
      display: flex;
      align-items: center;
    }
    
    .switcher-color {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin-right: 10px;
    }
    
    .switcher-option:hover {
      background-color: #f9f9f9;
    }
    
    .switcher-option.active {
      background-color: var(--primary);
      color: white;
    }
    
    /* 底部导航栏 */
    .bottom-nav {
      display: flex;
      padding: 8px 0;
      border-top: 1px solid var(--border);
      background-color: var(--white);
    }
    
    .nav-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      color: var(--secondary);
      text-decoration: none;
      font-size: 11px;
      gap: 4px;
      transition: all 0.2s ease;
    }
    
    .nav-item i {
      font-size: 20px;
    }
    
    .nav-item.active {
      color: var(--primary);
    }
    
    /* 风格1：科技蓝 */
    .style-1 {
      --primary: var(--style1);
    }
    
    .style-1 .album-item {
      transition: transform 0.3s ease;
    }
    
    .style-1 .album-item:hover {
      transform: translateY(-3px);
    }
    
    /* 风格2：活力粉 */
    .style-2 {
      --primary: var(--style2);
    }
    
    .style-2 .page-header,
    .style-2 .bottom-nav {
      background-color: var(--primary);
      color: white;
      border-color: rgba(255, 255, 255, 0.2);
    }
    
    .style-2 .header-btn,
    .style-2 .page-title {
      color: white;
    }
    
    .style-2 .nav-item {
      color: rgba(255, 255, 255, 0.7);
    }
    
    .style-2 .nav-item.active {
      color: white;
    }
    
    .style-2 .tab-item.active::after {
      height: 2px;
    }
    
    /* 风格3：生态绿 */
    .style-3 {
      --primary: var(--style3);
    }
    
    .style-3 .container {
      background-color: #F8FAFC;
    }
    
    .style-3 .profile-cover {
      border-radius: 0 0 20px 20px;
      overflow: hidden;
    }
    
    .style-3 .album-item {
      background-color: var(--white);
      border-radius: 12px;
      border: none;
    }
    
    .style-3 .post-item {
      border-radius: 12px;
    }
    
    /* 风格4：温暖橙 */
    .style-4 {
      --primary: var(--style4);
    }
    
    .style-4 .profile-name {
      color: var(--primary);
    }
    
    .style-4 .profile-avatar {
      box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    }
    
    .style-4 .content-tabs {
      background-color: var(--light);
    }
    
    .style-4 .album-item {
      border: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    /* 风格5：梦幻紫 */
    .style-5 {
      --primary: var(--style5);
    }
    
    .style-5 .container {
      background-color: #FCFAFF;
    }
    
    .style-5 .profile-cover {
      height: 160px;
    }
    
    .style-5 .profile-actions {
      padding: 0 20px 20px;
    }
    
    .style-5 .profile-btn {
      border-radius: 20px;
    }
    
    .style-5 .albums-grid {
      gap: 12px;
      padding: 15px;
    }
    
    .style-5 .album-item {
      border-radius: 16px;
    }
    
    /* 风格6：商务黑 */
    .style-6 {
      --primary: #60A5FA;
      --secondary: #9CA3AF;
      --light: #1F2937;
      --dark: #F9FAFB;
      --white: #111827;
      --border: #374151;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    
    .style-6 body {
      background-color: #030712;
    }
    
    .style-6 .container {
      background-color: var(--white);
    }
    
    .style-6 .page-header,
    .style-6 .bottom-nav {
      background-color: var(--light);
      border-bottom-color: var(--border);
    }
    
    .style-6 .header-btn,
    .style-6 .page-title,
    .style-6 .nav-item {
      color: var(--dark);
    }
    
    .style-6 .content-tabs {
      background-color: var(--light);
      border-color: var(--border);
    }
    
    .style-6 .album-item,
    .style-6 .post-item {
      background-color: var(--light);
    }
    
    .style-6 .style-switcher {
      background-color: var(--light);
    }
    
    .style-6 .switcher-header {
      border-bottom-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .switcher-option {
      color: var(--dark);
    }
    
    .style-6 .switcher-option:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* 动画效果 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    /* 响应式调整 */
    @media (max-width: 360px) {
      .profile-name {
        font-size: 20px;
      }
      
      .profile-stats {
        gap: 20px;
      }
    }
  </style>
</head>
<body class="style-1">
  <!-- 样式切换器 -->
  <button class="switcher-toggle">
    <i class="fa fa-paint-brush"></i>
  </button>
  
  <div class="style-switcher hidden">
    <div class="switcher-header">
      选择页面样式
      <button class="switcher-close"><i class="fa fa-times"></i></button>
    </div>
    <div class="switcher-option active" data-style="1">
      <span class="switcher-color" style="background-color: var(--style1);"></span>
      科技蓝
    </div>
    <div class="switcher-option" data-style="2">
      <span class="switcher-color" style="background-color: var(--style2);"></span>
      活力粉
    </div>
    <div class="switcher-option" data-style="3">
      <span class="switcher-color" style="background-color: var(--style3);"></span>
      生态绿
    </div>
    <div class="switcher-option" data-style="4">
      <span class="switcher-color" style="background-color: var(--style4);"></span>
      温暖橙
    </div>
    <div class="switcher-option" data-style="5">
      <span class="switcher-color" style="background-color: var(--style5);"></span>
      梦幻紫
    </div>
    <div class="switcher-option" data-style="6">
      <span class="switcher-color" style="background-color: var(--style6);"></span>
      商务黑
    </div>
  </div>
  
  <div class="container">
    <!-- 风格1：科技蓝个人主页 -->
    <div class="profile-page active" id="profile1">
      <div class="page-header">
        <h1 class="page-title">个人主页</h1>
        <div class="header-actions">
          <button class="header-btn" id="search1"><i class="fa fa-search"></i></button>
          <button class="header-btn" id="settings1"><i class="fa fa-cog"></i></button>
        </div>
      </div>
      
      <div class="profile-cover" style="background-image: url('https://picsum.photos/id/1015/800/400');"></div>
      
      <div class="profile-avatar-container">
        <div class="profile-avatar" style="background-image: url('https://picsum.photos/id/1012/200/200');"></div>
      </div>
      
      <div class="profile-info">
        <h2 class="profile-name">李明</h2>
        <p class="profile-bio">旅行摄影师 | 美食爱好者 | 生活记录者<br>用镜头捕捉生活中的美好瞬间</p>
        
        <div class="profile-stats">
          <div class="stat-item">
            <div class="stat-value">248</div>
            <div class="stat-label">动态</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">12</div>
            <div class="stat-label">相册</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">1.2k</div>
            <div class="stat-label">粉丝</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">356</div>
            <div class="stat-label">关注</div>
          </div>
        </div>
      </div>
      
      <div class="profile-actions">
        <button class="profile-btn btn-primary">关注</button>
        <button class="profile-btn btn-secondary">发消息</button>
      </div>
      
      <div class="content-tabs">
        <div class="tab-item active" data-tab="albums1">相册</div>
        <div class="tab-item" data-tab="posts1">动态</div>
        <div class="tab-item" data-tab="collections1">收藏</div>
      </div>
      
      <div class="content-container">
        <!-- 相册内容 -->
        <div class="albums-content active" id="albums1">
          <div class="albums-grid">
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/1015/400/300');"></div>
              <div class="album-info">
                <div class="album-title">夏日海边旅行</div>
                <div class="album-count"><i class="fa fa-camera"></i> 24张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/1018/400/300');"></div>
              <div class="album-info">
                <div class="album-title">城市建筑摄影</div>
                <div class="album-count"><i class="fa fa-camera"></i> 18张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/102/400/300');"></div>
              <div class="album-info">
                <div class="album-title">美食探店合集</div>
                <div class="album-count"><i class="fa fa-camera"></i> 36张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/1039/400/300');"></div>
              <div class="album-info">
                <div class="album-title">山间徒步记录</div>
                <div class="album-count"><i class="fa fa-camera"></i> 29张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/1040/400/300');"></div>
              <div class="album-info">
                <div class="album-title">星空摄影作品集</div>
                <div class="album-count"><i class="fa fa-camera"></i> 15张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/1059/400/300');"></div>
              <div class="album-info">
                <div class="album-title">宠物日常</div>
                <div class="album-count"><i class="fa fa-camera"></i> 42张</div>
              </div>
            </div>
          </div>
        </div>
        
        <!-- 动态内容 -->
        <div class="posts-content" id="posts1" style="display: none;">
          <div class="posts-list">
            <div class="post-item">
              <div class="post-header">
                <div class="post-avatar" style="background-image: url('https://picsum.photos/id/1012/200/200');"></div>
                <div>
                  <div class="post-author">李明</div>
                  <div class="post-time">今天 14:30</div>
                </div>
              </div>
              <div class="post-content">
                今天去了新开的咖啡馆，环境很不错，咖啡的味道也很正宗，推荐给大家～
              </div>
              <div class="post-images">
                <div class="post-image" style="background-image: url('https://picsum.photos/id/225/300/300');"></div>
                <div class="post-image" style="background-image: url('https://picsum.photos/id/226/300/300');"></div>
                <div class="post-image" style="background-image: url('https://picsum.photos/id/227/300/300');"></div>
              </div>
              <div class="post-actions">
                <button class="post-action"><i class="fa fa-heart-o"></i> 128</button>
                <button class="post-action"><i class="fa fa-comment-o"></i> 32</button>
                <button class="post-action"><i class="fa fa-share-alt"></i> 分享</button>
              </div>
            </div>
            
            <div class="post-item">
              <div class="post-header">
                <div class="post-avatar" style="background-image: url('https://picsum.photos/id/1012/200/200');"></div>
                <div>
                  <div class="post-author">李明</div>
                  <div class="post-time">昨天 09:15</div>
                </div>
              </div>
              <div class="post-content">
                清晨的海边日出，太美了！早起果然是值得的～
              </div>
              <div class="post-images">
                <div class="post-image" style="background-image: url('https://picsum.photos/id/1015/300/300');"></div>
              </div>
              <div class="post-actions">
                <button class="post-action"><i class="fa fa-heart-o"></i> 256</button>
                <button class="post-action"><i class="fa fa-comment-o"></i> 48</button>
                <button class="post-action"><i class="fa fa-share-alt"></i> 分享</button>
              </div>
            </div>
            
            <div class="post-item">
              <div class="post-header">
                <div class="post-avatar" style="background-image: url('https://picsum.photos/id/1012/200/200');"></div>
                <div>
                  <div class="post-author">李明</div>
                  <div class="post-time">3天前</div>
                </div>
              </div>
              <div class="post-content">
                新入手的相机，试拍了一组照片，感觉画质提升明显，期待接下来的创作～
              </div>
              <div class="post-images">
                <div class="post-image" style="background-image: url('https://picsum.photos/id/104/300/300');"></div>
                <div class="post-image" style="background-image: url('https://picsum.photos/id/106/300/300');"></div>
              </div>
              <div class="post-actions">
                <button class="post-action"><i class="fa fa-heart-o"></i> 189</button>
                <button class="post-action"><i class="fa fa-comment-o"></i> 56</button>
                <button class="post-action"><i class="fa fa-share-alt"></i> 分享</button>
              </div>
            </div>
          </div>
        </div>
        
        <!-- 收藏内容 -->
        <div class="collections-content" id="collections1" style="display: none;">
          <div class="albums-grid">
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/1035/400/300');"></div>
              <div class="album-info">
                <div class="album-title">自然风光摄影集</div>
                <div class="album-count">by 张华</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/1080/400/300');"></div>
              <div class="album-info">
                <div class="album-title">城市夜景精选</div>
                <div class="album-count">by 王强</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/292/400/300');"></div>
              <div class="album-info">
                <div class="album-title">美食制作教程</div>
                <div class="album-count">by 陈婷</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/1058/400/300');"></div>
              <div class="album-info">
                <div class="album-title">旅行攻略合集</div>
                <div class="album-count">by 赵琳</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="bottom-nav">
        <a href="#" class="nav-item active">
          <i class="fa fa-home"></i>
          <span>首页</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-compass"></i>
          <span>发现</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-plus-square-o"></i>
          <span>发布</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-bell-o"></i>
          <span>通知</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-user-o"></i>
          <span>我的</span>
        </a>
      </div>
    </div>
    
    <!-- 风格2：活力粉个人主页 -->
    <div class="profile-page" id="profile2">
      <div class="page-header">
        <h1 class="page-title">个人主页</h1>
        <div class="header-actions">
          <button class="header-btn" id="search2"><i class="fa fa-search"></i></button>
          <button class="header-btn" id="settings2"><i class="fa fa-cog"></i></button>
        </div>
      </div>
      
      <div class="profile-cover" style="background-image: url('https://picsum.photos/id/237/800/400');"></div>
      
      <div class="profile-avatar-container">
        <div class="profile-avatar" style="background-image: url('https://picsum.photos/id/1027/200/200');"></div>
      </div>
      
      <div class="profile-info">
        <h2 class="profile-name">张婷</h2>
        <p class="profile-bio">时尚博主 | 美妆达人 | 旅行爱好者<br>分享美好生活方式与穿搭技巧</p>
        
        <div class="profile-stats">
          <div class="stat-item">
            <div class="stat-value">356</div>
            <div class="stat-label">动态</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">24</div>
            <div class="stat-label">相册</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">5.8k</div>
            <div class="stat-label">粉丝</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">218</div>
            <div class="stat-label">关注</div>
          </div>
        </div>
      </div>
      
      <div class="profile-actions">
        <button class="profile-btn btn-primary">关注</button>
        <button class="profile-btn btn-secondary">发消息</button>
      </div>
      
      <div class="content-tabs">
        <div class="tab-item active" data-tab="albums2">相册</div>
        <div class="tab-item" data-tab="posts2">动态</div>
        <div class="tab-item" data-tab="collections2">收藏</div>
      </div>
      
      <div class="content-container">
        <!-- 相册内容 -->
        <div class="albums-content active" id="albums2">
          <div class="albums-grid">
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/292/400/300');"></div>
              <div class="album-info">
                <div class="album-title">闺蜜下午茶时光</div>
                <div class="album-count"><i class="fa fa-camera"></i> 18张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/21/400/300');"></div>
              <div class="album-info">
                <div class="album-title">夏季穿搭合集</div>
                <div class="album-count"><i class="fa fa-camera"></i> 32张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/287/400/300');"></div>
              <div class="album-info">
                <div class="album-title">美妆教程</div>
                <div class="album-count"><i class="fa fa-camera"></i> 26张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/42/400/300');"></div>
              <div class="album-info">
                <div class="album-title">城市旅行</div>
                <div class="album-count"><i class="fa fa-camera"></i> 45张</div>
              </div>
            </div>
          </div>
        </div>
        
        <!-- 动态内容 -->
        <div class="posts-content" id="posts2" style="display: none;">
          <div class="posts-list">
            <div class="post-item">
              <div class="post-header">
                <div class="post-avatar" style="background-image: url('https://picsum.photos/id/1027/200/200');"></div>
                <div>
                  <div class="post-author">张婷</div>
                  <div class="post-time">今天 16:45</div>
                </div>
              </div>
              <div class="post-content">
                今日穿搭分享，这条连衣裙超级显身材，颜色也很适合夏天～
              </div>
              <div class="post-images">
                <div class="post-image" style="background-image: url('https://picsum.photos/id/64/300/300');"></div>
                <div class="post-image" style="background-image: url('https://picsum.photos/id/65/300/300');"></div>
              </div>
              <div class="post-actions">
                <button class="post-action"><i class="fa fa-heart-o"></i> 856</button>
                <button class="post-action"><i class="fa fa-comment-o"></i> 124</button>
                <button class="post-action"><i class="fa fa-share-alt"></i> 分享</button>
              </div>
            </div>
            
            <div class="post-item">
              <div class="post-header">
                <div class="post-avatar" style="background-image: url('https://picsum.photos/id/1027/200/200');"></div>
                <div>
                  <div class="post-author">张婷</div>
                  <div class="post-time">昨天 11:30</div>
                </div>
              </div>
              <div class="post-content">
                新入的几款口红试色，都是超级显白的颜色，黄皮姐妹也可以放心入～
              </div>
              <div class="post-images">
                <div class="post-image" style="background-image: url('https://picsum.photos/id/21/300/300');"></div>
                <div class="post-image" style="background-image: url('https://picsum.photos/id/22/300/300');"></div>
                <div class="post-image" style="background-image: url('https://picsum.photos/id/23/300/300');"></div>
              </div>
              <div class="post-actions">
                <button class="post-action"><i class="fa fa-heart-o"></i> 1.2k</button>
                <button class="post-action"><i class="fa fa-comment-o"></i> 238</button>
                <button class="post-action"><i class="fa fa-share-alt"></i> 分享</button>
              </div>
            </div>
          </div>
        </div>
        
        <!-- 收藏内容 -->
        <div class="collections-content" id="collections2" style="display: none;">
          <div class="albums-grid">
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/21/400/300');"></div>
              <div class="album-info">
                <div class="album-title">秋季穿搭指南</div>
                <div class="album-count">by 时尚周刊</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/292/400/300');"></div>
              <div class="album-info">
                <div class="album-title">甜点制作大全</div>
                <div class="album-count">by 美食家</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="bottom-nav">
        <a href="#" class="nav-item active">
          <i class="fa fa-home"></i>
          <span>首页</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-compass"></i>
          <span>发现</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-plus-square-o"></i>
          <span>发布</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-bell-o"></i>
          <span>通知</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-user-o"></i>
          <span>我的</span>
        </a>
      </div>
    </div>
    
    <!-- 风格3：生态绿个人主页 -->
    <div class="profile-page" id="profile3">
      <div class="page-header">
        <h1 class="page-title">个人主页</h1>
        <div class="header-actions">
          <button class="header-btn" id="search3"><i class="fa fa-search"></i></button>
          <button class="header-btn" id="settings3"><i class="fa fa-cog"></i></button>
        </div>
      </div>
      
      <div class="profile-cover" style="background-image: url('https://picsum.photos/id/129/800/400');"></div>
      
      <div class="profile-avatar-container">
        <div class="profile-avatar" style="background-image: url('https://picsum.photos/id/1074/200/200');"></div>
      </div>
      
      <div class="profile-info">
        <h2 class="profile-name">王伟</h2>
        <p class="profile-bio">户外探险家 | 自然摄影师 | 环保志愿者<br>探索大自然的奥秘，保护地球家园</p>
        
        <div class="profile-stats">
          <div class="stat-item">
            <div class="stat-value">189</div>
            <div class="stat-label">动态</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">16</div>
            <div class="stat-label">相册</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">2.3k</div>
            <div class="stat-label">粉丝</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">145</div>
            <div class="stat-label">关注</div>
          </div>
        </div>
      </div>
      
      <div class="profile-actions">
        <button class="profile-btn btn-primary">关注</button>
        <button class="profile-btn btn-secondary">发消息</button>
      </div>
      
      <div class="content-tabs">
        <div class="tab-item active" data-tab="albums3">相册</div>
        <div class="tab-item" data-tab="posts3">动态</div>
        <div class="tab-item" data-tab="collections3">收藏</div>
      </div>
      
      <div class="content-container">
        <!-- 相册内容 -->
        <div class="albums-content active" id="albums3">
          <div class="albums-grid">
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/129/400/300');"></div>
              <div class="album-info">
                <div class="album-title">森林徒步探险</div>
                <div class="album-count"><i class="fa fa-camera"></i> 32张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/133/400/300');"></div>
              <div class="album-info">
                <div class="album-title">山地自行车之旅</div>
                <div class="album-count"><i class="fa fa-camera"></i> 25张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/137/400/300');"></div>
              <div class="album-info">
                <div class="album-title">野生动植物摄影</div>
                <div class="album-count"><i class="fa fa-camera"></i> 42张</div>
              </div>
            </div>
            <div class="album-item">
              <div class="album-thumbnail" style="background-image: url('https://picsum.photos/id/142/400/300');"></div>
              <div class="album-info">
                <div class="album-title">环保志愿活动</div>
                <div class="album-count"><i class="fa fa-camera"></i> 18张</div>
              </div>
            </div>
          </div>
        </div>
        
        <!-- 动态内容和收藏内容结构类似，省略重复代码 -->
        <div class="posts-content" id="posts3" style="display: none;">
          <!-- 内容类似，省略 -->
          <div class="posts-list">
            <div class="post-item">
              <div class="post-header">
                <div class="post-avatar" style="background-image: url('https://picsum.photos/id/1074/200/200');"></div>
                <div>
                  <div class="post-author">王伟</div>
                  <div class="post-time">今天 08:20</div>
                </div>
              </div>
              <div class="post-content">
                今天的徒步路线风景太美了，发现了很多珍稀植物，大自然真是太神奇了！
              </div>
              <div class="post-images">
                <div class="post-image" style="background-image: url('https://picsum.photos/id/129/300/300');"></div>
                <div class="post-image" style="background-image: url('https://picsum.photos/id/130/300/300');"></div>
                <div class="post-image" style="background-image: url('https://picsum.photos/id/131/300/300');"></div>
              </div>
              <div class="post-actions">
                <button class="post-action"><i class="fa fa-heart-o"></i> 342</button>
                <button class="post-action"><i class="fa fa-comment-o"></i> 67</button>
                <button class="post-action"><i class="fa fa-share-alt"></i> 分享</button>
              </div>
            </div>
          </div>
        </div>
        
        <div class="collections-content" id="collections3" style="display: none;">
          <!-- 内容类似，省略 -->
        </div>
      </div>
      
      <div class="bottom-nav">
        <a href="#" class="nav-item active">
          <i class="fa fa-home"></i>
          <span>首页</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-compass"></i>
          <span>发现</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-plus-square-o"></i>
          <span>发布</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-bell-o"></i>
          <span>通知</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-user-o"></i>
          <span>我的</span>
        </a>
      </div>
    </div>
    
    <!-- 风格4：温暖橙个人主页 -->
    <div class="profile-page" id="profile4">
      <!-- 结构类似，内容针对美食博主 -->
      <div class="page-header">
        <h1 class="page-title">个人主页</h1>
        <div class="header-actions">
          <button class="header-btn" id="search4"><i class="fa fa-search"></i></button>
          <button class="header-btn" id="settings4"><i class="fa fa-cog"></i></button>
        </div>
      </div>
      
      <div class="profile-cover" style="background-image: url('https://picsum.photos/id/292/800/400');"></div>
      
      <div class="profile-avatar-container">
        <div class="profile-avatar" style="background-image: url('https://picsum.photos/id/1066/200/200');"></div>
      </div>
      
      <div class="profile-info">
        <h2 class="profile-name">刘洋</h2>
        <p class="profile-bio">美食博主 | 家常菜达人 | 烘焙爱好者<br>分享简单美味的家庭料理</p>
        
        <div class="profile-stats">
          <div class="stat-item">
            <div class="stat-value">421</div>
            <div class="stat-label">动态</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">32</div>
            <div class="stat-label">相册</div>
          </div>
          <div class="stat-value">3.7k</div>
          <div class="stat-label">粉丝</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">189</div>
            <div class="stat-label">关注</div>
          </div>
        </div>
      </div>
      
      <!-- 其他内容结构类似，省略 -->
      
      <div class="bottom-nav">
        <a href="#" class="nav-item active">
          <i class="fa fa-home"></i>
          <span>首页</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-compass"></i>
          <span>发现</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-plus-square-o"></i>
          <span>发布</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-bell-o"></i>
          <span>通知</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-user-o"></i>
          <span>我的</span>
        </a>
      </div>
    </div>
    
    <!-- 风格5：梦幻紫个人主页 -->
    <div class="profile-page" id="profile5">
      <!-- 结构类似，内容针对摄影师 -->
      <div class="page-header">
        <h1 class="page-title">个人主页</h1>
        <div class="header-actions">
          <button class="header-btn" id="search5"><i class="fa fa-search"></i></button>
          <button class="header-btn" id="settings5"><i class="fa fa-cog"></i></button>
        </div>
      </div>
      
      <div class="profile-cover" style="background-image: url('https://picsum.photos/id/42/800/400');"></div>
      
      <div class="profile-avatar-container">
        <div class="profile-avatar" style="background-image: url('https://picsum.photos/id/1074/200/200');"></div>
      </div>
      
      <div class="profile-info">
        <h2 class="profile-name">陈明</h2>
        <p class="profile-bio">城市摄影师 | 夜景爱好者 | 旅行博主<br>用镜头记录城市的昼夜交替</p>
        
        <!-- 其他内容结构类似，省略 -->
      </div>
      
      <div class="bottom-nav">
        <a href="#" class="nav-item active">
          <i class="fa fa-home"></i>
          <span>首页</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-compass"></i>
          <span>发现</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-plus-square-o"></i>
          <span>发布</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-bell-o"></i>
          <span>通知</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-user-o"></i>
          <span>我的</span>
        </a>
      </div>
    </div>
    
    <!-- 风格6：商务黑个人主页 -->
    <div class="profile-page" id="profile6">
      <!-- 结构类似，内容针对设计师 -->
      <div class="page-header">
        <h1 class="page-title">个人主页</h1>
        <div class="header-actions">
          <button class="header-btn" id="search6"><i class="fa fa-search"></i></button>
          <button class="header-btn" id="settings6"><i class="fa fa-cog"></i></button>
        </div>
      </div>
      
      <div class="profile-cover" style="background-image: url('https://picsum.photos/id/106/800/400');"></div>
      
      <div class="profile-avatar-container">
        <div class="profile-avatar" style="background-image: url('https://picsum.photos/id/1012/200/200');"></div>
      </div>
      
      <div class="profile-info">
        <h2 class="profile-name">赵杰</h2>
        <p class="profile-bio">UI/UX设计师 | 品牌顾问 | 设计讲师<br>分享设计理念与创意作品</p>
        
        <!-- 其他内容结构类似，省略 -->
      </div>
      
      <div class="bottom-nav">
        <a href="#" class="nav-item active">
          <i class="fa fa-home"></i>
          <span>首页</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-compass"></i>
          <span>发现</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-plus-square-o"></i>
          <span>发布</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-bell-o"></i>
          <span>通知</span>
        </a>
        <a href="#" class="nav-item">
          <i class="fa fa-user-o"></i>
          <span>我的</span>
        </a>
      </div>
    </div>
  </div>
  
  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 当前状态
    let currentStyle = 1;
    
    // DOM元素
    const switcherToggle = document.querySelector('.switcher-toggle');
    const switcher = document.querySelector('.style-switcher');
    const switcherClose = document.querySelector('.switcher-close');
    const switcherOptions = document.querySelectorAll('.switcher-option');
    const profilePages = {
      1: document.getElementById('profile1'),
      2: document.getElementById('profile2'),
      3: document.getElementById('profile3'),
      4: document.getElementById('profile4'),
      5: document.getElementById('profile5'),
      6: document.getElementById('profile6')
    };
    const bodyElement = document.body;
    
    // 初始化
    function init() {
      // 初始化所有页面的标签切换
      initTabSwitching();
      
      // 初始化底部导航
      initBottomNav();
      
      // 初始化交互按钮
      initActionButtons();
      
      // 切换器控制
      switcherToggle.addEventListener('click', toggleSwitcher);
      switcherClose.addEventListener('click', toggleSwitcher);
      
      // 切换样式
      switcherOptions.forEach(option => {
        option.addEventListener('click', function() {
          const style = parseInt(this.getAttribute('data-style'));
          switchStyle(style);
          toggleSwitcher();
        });
      });
      
      // 键盘导航切换样式
      document.addEventListener('keydown', function(e) {
        if (e.key === 'ArrowLeft') {
          let prev = currentStyle - 1;
          if (prev < 1) prev = 6;
          switchStyle(prev);
        } else if (e.key === 'ArrowRight') {
          let next = currentStyle + 1;
          if (next > 6) next = 1;
          switchStyle(next);
        }
      });
    }
    
    // 初始化标签切换
    function initTabSwitching() {
      // 为每个页面初始化标签切换
      for (let i = 1; i <= 6; i++) {
        const tabItems = profilePages[i].querySelectorAll('.tab-item');
        
        tabItems.forEach(tab => {
          tab.addEventListener('click', function() {
            const tabId = this.getAttribute('data-tab');
            const page = this.closest('.profile-page');
            
            // 移除所有标签的active类
            page.querySelectorAll('.tab-item').forEach(item => {
              item.classList.remove('active');
            });
            
            // 隐藏所有内容
            page.querySelectorAll('.albums-content, .posts-content, .collections-content').forEach(content => {
              content.style.display = 'none';
            });
            
            // 激活当前标签和内容
            this.classList.add('active');
            document.getElementById(tabId).style.display = 'block';
          });
        });
      }
    }
    
    // 初始化底部导航
    function initBottomNav() {
      // 为每个页面初始化底部导航
      for (let i = 1; i <= 6; i++) {
        const navItems = profilePages[i].querySelectorAll('.nav-item');
        
        navItems.forEach(item => {
          item.addEventListener('click', function(e) {
            e.preventDefault();
            
            // 移除所有导航项的active类
            this.closest('.bottom-nav').querySelectorAll('.nav-item').forEach(nav => {
              nav.classList.remove('active');
            });
            
            // 激活当前导航项
            this.classList.add('active');
          });
        });
      }
    }
    
    // 初始化交互按钮
    function initActionButtons() {
      // 关注按钮
      document.querySelectorAll('.btn-primary').forEach(btn => {
        btn.addEventListener('click', function() {
          if (this.textContent === '关注') {
            this.textContent = '已关注';
            this.classList.add('btn-secondary');
            this.classList.remove('btn-primary');
          } else {
            this.textContent = '关注';
            this.classList.add('btn-primary');
            this.classList.remove('btn-secondary');
          }
        });
      });
      
      // 发消息按钮
      document.querySelectorAll('.btn-secondary').forEach(btn => {
        if (btn.textContent === '发消息') {
          btn.addEventListener('click', function() {
            alert('打开聊天窗口');
          });
        }
      });
      
      // 动态操作按钮
      document.querySelectorAll('.post-action').forEach(btn => {
        btn.addEventListener('click', function() {
          const icon = this.querySelector('i');
          
          if (icon.classList.contains('fa-heart-o')) {
            icon.classList.remove('fa-heart-o');
            icon.classList.add('fa-heart');
            this.style.color = getComputedStyle(document.documentElement).getPropertyValue('--primary');
            
            // 更新数字
            const countText = this.textContent.trim().replace(/[^\d]/g, '');
            const count = parseInt(countText) + 1;
            this.innerHTML = `<i class="fa fa-heart"></i> ${count}`;
          } else if (icon.classList.contains('fa-comment-o')) {
            alert('查看评论');
          } else if (icon.classList.contains('fa-share-alt')) {
            alert('分享动态');
          }
        });
      });
    }
    
    // 切换样式选择器显示/隐藏
    function toggleSwitcher() {
      switcher.classList.toggle('hidden');
    }
    
    // 关闭所有页面
    function closeAllPages() {
      Object.values(profilePages).forEach(page => {
        page.classList.remove('active');
      });
    }
    
    // 切换样式
    function switchStyle(style) {
      // 移除所有样式类
      bodyElement.classList.remove('style-1', 'style-2', 'style-3', 'style-4', 'style-5', 'style-6');
      
      // 添加当前样式类
      bodyElement.classList.add(`style-${style}`);
      
      // 更新当前样式
      currentStyle = style;
      
      // 更新切换器选中状态
      switcherOptions.forEach(option => {
        option.classList.remove('active');
        if (parseInt(option.getAttribute('data-style')) === style) {
          option.classList.add('active');
        }
      });
      
      // 显示对应页面
      closeAllPages();
      profilePages[style].classList.add('active');
    }
    
    // 启动
    init();
  </script>
</body>
</html>
